export function defined(router) {
    //全局路由守卫  前置守卫
    router.beforeEach((to,from,next)=>{
        next()
    })

    //全局路由守卫  解析守卫
    router.beforeResolve((to,from,next)=>{
        next()
    })

    //全局路由守卫 后置守卫
    router.afterEach(() => {})
}